<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            margin: 0;
        }
        .header-box{
            width: 100%;
            height: 100px;
            background-color: black;
            opacity: 0.7;
            position: fixed;
            top: 0;
        }
        .banner-1{
            display: block;
            width: 100vw;
            /* 利用padding-bottom控制高度,使用vw单位来保持宽高比 */
            padding-bottom: 32vw;
            background-image: url("https://cookiescdn.lenovo.com.cn/wp-content/uploads/2023/07/2023072107183344-scaled.jpg");
            background-size: 100% 100%;
            transition: all 1s linear;
            /* 设置位置，让图片居中，缩放的时候就会以图片的中心点缩放 */
            background-position: center center;
        }
        .banner-1:hover{
            background-size: 105% 105%;
        }
        .article-box{
            padding-left: 50px;
        }

        /* 伪元素 */
        .article-type::before{
            content: "";
            display: inline-block;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background-color: black;
            margin-right: 5px;
        }
        .article-time::after{
            content: "小时前";
        }
        .article-view-number::before{
            content: "";
            display: inline-block;
            width: 14px;
            height: 14px;
            background-image: url("./eyes.png");
            background-size: 100% 100%;
            background-position: center center;
        }
    </style>
</head>
<body>
    <div class="header-box"></div>
    <div class="banner-box">
        <a class="banner-1" href="https://cookies.lenovomm.com/?p=34005"></a>
    </div>
    <div class="article-box">
        <div class="item">
            <div class="article-type">心灵驿站</div>
            <div>谁驻足观此宁静庄严之景？</div>
            <div>
                <div class="article-time">11</div>
                <div>
                    <div class="article-view-number">3115</div>
                    <div>0</div>
                    <div>5</div>
                </div>
            </div>
        </div>
    </div>
    <div class="ad-box"></div>
    <div class="copyright-box"></div>
</body>
</html>